package org.swfer.UIC 
{
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	
	/**
	 * 单选按钮
	 * 可选部件 label
	 * 回调事件 select
	 * @author swfer
	 */
	public class RadioButton extends ToggleButton 
	{
		public static const SELECT:String = 'select';
		
		public function RadioButton(view:MovieClip) 
		{
			super(view);
		}
		
		override protected function onClick(e:MouseEvent):void 
		{
			if (_selected == false)
			{
				executeCallBack(SELECT);
			}
			_selected = true;
		}
		
	}

}